# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
  def admin
    yield if logged_in? && current_user.admin?
  end
end
